Probabilistic Program Analysis with Martingales

نویسندگان

  • Aleksandar Chakarov
  • Sriram Sankaranarayanan
چکیده

We present techniques for the analysis of infinite state probabilistic programs to synthesize probabilistic invariants and prove almost-sure termination. Our analysis is based on the notion of (super) martingales from probability theory. First, we define the concept of (super) martingales for loops in probabilistic programs. Next, we present the use of concentration of measure inequalities to bound the values of martingales with high probability. This directly allows us to infer probabilistic bounds on assertions involving the program variables. Next, we present the notion of a super martingale ranking function (SMRF) to prove almost sure termination of probabilistic programs. Finally, we extend constraint-based techniques to synthesize martingales and super-martingale ranking functions for probabilistic programs. We present some applications of our approach to reason about invariance and termination of small but complex probabilistic programs.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Probabilistic Martingales and BPTIME Classes

We define probabilistic martingales based on randomized approximation schemes, and show that the resulting notion of probabilistic measure has several desirable robustness properties. Probabilistic martingales can simulate the “betting games” of [BMR98], and can cover the same class that a “natural proof” diagonalizes against, as implicitly already shown in [RSC95]. The notion would become a fu...

متن کامل

Synthesizing Probabilistic Invariants via Doob's Decomposition

When analyzing probabilistic computations, a powerful approach is to first find a martingale—an expression on the program variables whose expectation remains invariant—and then apply the optional stopping theorem in order to infer properties at termination time. One of the main challenges, then, is to systematically find martingales. We propose a novel procedure to synthesize martingale express...

متن کامل

Travelling wave solutions to the K-P-P equation: alternatives to Simon Harris’ probabilistic analysis

Recently Harris [Proc. Roy. Soc. Edinburgh Sect. A 129 (1999) 503], using probabilistic methods alone, has given new proofs for the existence, asymptotics and uniqueness of travelling wave solutions to the K-P-P equation. Following in this vein we outline alternative probabilistic proofs. Specifically the techniques are confined to the study of additive and multiplicative martingales and spinal...

متن کامل

SLE martingales and the Virasoro algebra

We present an explicit relation between representations of the Virasoro algebra and polynomial martingales in stochastic Loewner evolutions (SLE). We show that the Virasoro algebra is the spectrum generating algebra of SLE martingales. This is based on a new representation of the Virasoro algebra, inspired by the Borel-Weil construction, acting on functions depending on coordinates parametrizin...

متن کامل

Martingales and Character Ratios

Some general connections between martingales and character ratios of finite groups are developed. As an application we sharpen the convergence rate in a central limit theorem for the character ratio of a random representation of the symmetric group on transpositions. A generalization of these results is given for Jack measure on partitions. We also give a probabilistic proof of a result of Burn...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013